VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
fdhege at gmail.com Guest
|
Posted: Thu Jul 16, 2009 9:36 am Post subject: [Freeswitch-users] Setting P-Asserted-ID to something other |
|
|
Hello again,
I wanted to first say thanks to Brain for helping me fix my from
domain issue the other day. It helped quite a bit.
Now with more testing and talking with the vendor (please don't shoot
the messenger )
They want the caller id info in the from and the charge number/
screening number in the P-Asserted-ID.
I have tested this and verified that this does work like they say it
does by setting the callerid number to my charge number and setting
the from user in the gateway config to the callerid I want displayed.
But this solution doesn't scale very well.
I know I can set the gateway option caller-id-in-from to get that part
done. But is there a way to set the P-Asserted-ID to something other
than the callerid?
Any hints would be welcomed.
Thanks,
-Dale
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Thu Jul 16, 2009 9:42 am Post subject: [Freeswitch-users] Setting P-Asserted-ID to something other |
|
|
On Jul 16, 2009, at 9:30 AM, Dale wrote:
Quote: | They want the caller id info in the from and the charge number/
screening number in the P-Asserted-ID.
|
set the sip_h_P-Asserted-ID=contents of header
its just a variable you need to set now.
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
krice at suspicious.org Guest
|
Posted: Thu Jul 16, 2009 9:47 am Post subject: [Freeswitch-users] Setting P-Asserted-ID to something other |
|
|
That's just right down screwing with the standards...
PAID is the caller id... This particular definition is from the RFCs and
3GPP docs for IMS which is why we have standardized P- headers...
Can your vendor not look at the P-Charging-Vector field?
Also, From when used with PAID is more like an ANI not a CLID
Quote: | From: Dale <fdhege@gmail.com>
Reply-To: <freeswitch-users@lists.freeswitch.org>
Date: Thu, 16 Jul 2009 10:30:34 -0400
To: <freeswitch-users@lists.freeswitch.org>
Subject: [Freeswitch-users] Setting P-Asserted-ID to something other than the
callerid
Hello again,
I wanted to first say thanks to Brain for helping me fix my from
domain issue the other day. It helped quite a bit.
Now with more testing and talking with the vendor (please don't shoot
the messenger )
They want the caller id info in the from and the charge number/
screening number in the P-Asserted-ID.
I have tested this and verified that this does work like they say it
does by setting the callerid number to my charge number and setting
the from user in the gateway config to the callerid I want displayed.
But this solution doesn't scale very well.
I know I can set the gateway option caller-id-in-from to get that part
done. But is there a way to set the P-Asserted-ID to something other
than the callerid?
Any hints would be welcomed.
Thanks,
-Dale
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
dave at 3c.co.uk Guest
|
Posted: Thu Jul 16, 2009 10:00 am Post subject: [Freeswitch-users] Setting P-Asserted-ID to something other |
|
|
Hi Dale,
You can set the header to anything you like by including something along
the lines of
<action application="set" data="sip_h_P-Asserted-Identity=<sip:
${caller_id_number}@1.2.3.4>" />
in your dialplan.
Cheers --
Dave
Quote: | Hello again,
I wanted to first say thanks to Brain for helping me fix my from
domain issue the other day. It helped quite a bit.
Now with more testing and talking with the vendor (please don't shoot
the messenger )
They want the caller id info in the from and the charge number/
screening number in the P-Asserted-ID.
I have tested this and verified that this does work like they say it
does by setting the callerid number to my charge number and setting
the from user in the gateway config to the callerid I want displayed.
But this solution doesn't scale very well.
I know I can set the gateway option caller-id-in-from to get that part
done. But is there a way to set the P-Asserted-ID to something other
than the callerid?
Any hints would be welcomed.
Thanks,
-Dale
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
| --
David Knell, Director, 3C Limited
T: +44 20 3298 2000
E: dave@3c.co.uk
W: http://www.3c.co.uk
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
fdhege at gmail.com Guest
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Thu Jul 16, 2009 10:18 am Post subject: [Freeswitch-users] Setting P-Asserted-ID to something other |
|
|
Kinda wrong there!
Gotta use CDATA because it has < and > in the data you're setting. And you'll wanna export it I suspect.
<action application="export"><![CDATA[sip_h_P-Asserted-Identity=<[url=sip:$]sip:$[/url]{caller_id_number}@1.2.3.4>]]></action>
/b
On Jul 16, 2009, at 9:51 AM, David Knell wrote:
Quote: | Hi Dale,
You can set the header to anything you like by including something along
the lines of
<action application="set" data="sip_h_P-Asserted-Identity=<sip:
${caller_id_number}@1.2.3.4 ([email]${caller_id_number}@1.2.3.4[/email])>" />
in your dialplan.
Cheers --
|
|
|
Back to top |
|
|
fdhege at gmail.com Guest
|
Posted: Thu Jul 16, 2009 11:45 am Post subject: [Freeswitch-users] Setting P-Asserted-ID to something other |
|
|
Who knows. I have asked why they are backwards when it comes to the
RFC's.
-Dale
On Jul 16, 2009, at 10:41 AM, Ken Rice wrote:
Quote: | That's just right down screwing with the standards...
PAID is the caller id... This particular definition is from the RFCs
and
3GPP docs for IMS which is why we have standardized P- headers...
Can your vendor not look at the P-Charging-Vector field?
Also, From when used with PAID is more like an ANI not a CLID
Quote: | From: Dale <fdhege@gmail.com>
Reply-To: <freeswitch-users@lists.freeswitch.org>
Date: Thu, 16 Jul 2009 10:30:34 -0400
To: <freeswitch-users@lists.freeswitch.org>
Subject: [Freeswitch-users] Setting P-Asserted-ID to something
other than the
callerid
Hello again,
I wanted to first say thanks to Brain for helping me fix my from
domain issue the other day. It helped quite a bit.
Now with more testing and talking with the vendor (please don't shoot
the messenger )
They want the caller id info in the from and the charge number/
screening number in the P-Asserted-ID.
I have tested this and verified that this does work like they say it
does by setting the callerid number to my charge number and setting
the from user in the gateway config to the callerid I want displayed.
But this solution doesn't scale very well.
I know I can set the gateway option caller-id-in-from to get that
part
done. But is there a way to set the P-Asserted-ID to something other
than the callerid?
Any hints would be welcomed.
Thanks,
-Dale
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
fdhege at gmail.com Guest
|
Posted: Thu Jul 16, 2009 12:11 pm Post subject: [Freeswitch-users] Setting P-Asserted-ID to something other |
|
|
Hey, you happen to have the RFC number and section they are violating?
I'll dig it up. But figured I'd ask since you all seem to have them
memorized by now.
-Dale
On Jul 16, 2009, at 10:41 AM, Ken Rice wrote:
Quote: | That's just right down screwing with the standards...
PAID is the caller id... This particular definition is from the RFCs
and
3GPP docs for IMS which is why we have standardized P- headers...
Can your vendor not look at the P-Charging-Vector field?
Also, From when used with PAID is more like an ANI not a CLID
Quote: | From: Dale <fdhege@gmail.com>
Reply-To: <freeswitch-users@lists.freeswitch.org>
Date: Thu, 16 Jul 2009 10:30:34 -0400
To: <freeswitch-users@lists.freeswitch.org>
Subject: [Freeswitch-users] Setting P-Asserted-ID to something
other than the
callerid
Hello again,
I wanted to first say thanks to Brain for helping me fix my from
domain issue the other day. It helped quite a bit.
Now with more testing and talking with the vendor (please don't shoot
the messenger )
They want the caller id info in the from and the charge number/
screening number in the P-Asserted-ID.
I have tested this and verified that this does work like they say it
does by setting the callerid number to my charge number and setting
the from user in the gateway config to the callerid I want displayed.
But this solution doesn't scale very well.
I know I can set the gateway option caller-id-in-from to get that
part
done. But is there a way to set the P-Asserted-ID to something other
than the callerid?
Any hints would be welcomed.
Thanks,
-Dale
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
sicfslist at gmail.com Guest
|
|
Back to top |
|
|
dave at 3c.co.uk Guest
|
Posted: Thu Jul 16, 2009 2:27 pm Post subject: [Freeswitch-users] Setting P-Asserted-ID to something other |
|
|
Really? That line (+/- the IP address) came directly out of a working
dialplan. To be fair, the box is running a faintly prehistoric
FreeSWITCH - you crazy cats haven't been chewing on the tail of my
cherished mouse of backwards compatibility again, have you?!
What has been incorrect in this discussion is the name of the header:
it's P-Asserted-Identity, not P-Asserted-ID. The fact that it's usually
shortened to PAID doesn't help; nor does the fact that Remote-Party-ID
(which is deprecated, but still widely used for the same job as
P-Asserted-Identity) is about as well.
--Dave
Quote: | Kinda wrong there!
Gotta use CDATA because it has < and > in the data you're setting.
And you'll wanna export it I suspect.
<action application="export"><![CDATA[sip_h_P-Asserted-Identity=<sip:
${caller_id_number}@1.2.3.4>]]></action>
/b
On Jul 16, 2009, at 9:51 AM, David Knell wrote:
Quote: | Hi Dale,
You can set the header to anything you like by including something
along
the lines of
<action application="set" data="sip_h_P-Asserted-Identity=<sip:
${caller_id_number}@1.2.3.4>" />
in your dialplan.
Cheers --
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
| --
David Knell, Director, 3C Limited
T: +44 20 3298 2000
E: dave@3c.co.uk
W: http://www.3c.co.uk
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Thu Jul 16, 2009 2:32 pm Post subject: [Freeswitch-users] Setting P-Asserted-ID to something other |
|
|
Not sure how you were able to set the variable with < and > in it at
all thats not been possible cuz the XML parser will barf on it usually.
/b
On Jul 16, 2009, at 2:20 PM, David Knell wrote:
Quote: | Really? That line (+/- the IP address) came directly out of a working
dialplan. To be fair, the box is running a faintly prehistoric
FreeSWITCH - you crazy cats haven't been chewing on the tail of my
cherished mouse of backwards compatibility again, have you?!
What has been incorrect in this discussion is the name of the header:
it's P-Asserted-Identity, not P-Asserted-ID. The fact that it's
usually
shortened to PAID doesn't help; nor does the fact that Remote-Party-ID
(which is deprecated, but still widely used for the same job as
P-Asserted-Identity) is about as well.
--Dave
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
fdhege at gmail.com Guest
|
Posted: Thu Jul 16, 2009 2:56 pm Post subject: [Freeswitch-users] Setting P-Asserted-ID to something other |
|
|
Hmm, it seems to work on a copy of trunk from a few days ago. Both
in the dialplan and the gateway config.
But I could see how that might cause a problem with the xml.
-Dale
On Jul 16, 2009, at 3:27 PM, Brian West wrote:
Quote: | Not sure how you were able to set the variable with < and > in it at
all thats not been possible cuz the XML parser will barf on it
usually.
/b
On Jul 16, 2009, at 2:20 PM, David Knell wrote:
Quote: | Really? That line (+/- the IP address) came directly out of a
working
dialplan. To be fair, the box is running a faintly prehistoric
FreeSWITCH - you crazy cats haven't been chewing on the tail of my
cherished mouse of backwards compatibility again, have you?!
What has been incorrect in this discussion is the name of the header:
it's P-Asserted-Identity, not P-Asserted-ID. The fact that it's
usually
shortened to PAID doesn't help; nor does the fact that Remote-Party-
ID
(which is deprecated, but still widely used for the same job as
P-Asserted-Identity) is about as well.
--Dave
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Thu Jul 16, 2009 3:08 pm Post subject: [Freeswitch-users] Setting P-Asserted-ID to something other |
|
|
I think the parser is probably supposed to barf on consecutive < chars but it doesn't. I learned that the hard way when I left the closing tag off of an action in the dp. Consider this dp snippet:
<action application="log" data="INFO Now you see me"
<action application="log" data="INFO Now you don't"/>
<action application="log" data="INFO Now you see me"/>
The above works but the 2nd log does not display. Just an FYI.
-MC
On Thu, Jul 16, 2009 at 12:42 PM, Dale <fdhege@gmail.com (fdhege@gmail.com)> wrote:
Quote: |
Hmm, it seems to work on a copy of trunk from a few days ago. Both
in the dialplan and the gateway config.
But I could see how that might cause a problem with the xml.
-Dale
On Jul 16, 2009, at 3:27 PM, Brian West wrote:
Quote: | Not sure how you were able to set the variable with < and > in it at
all thats not been possible cuz the XML parser will barf on it
usually.
/b
On Jul 16, 2009, at 2:20 PM, David Knell wrote:
Quote: | Really? That line (+/- the IP address) came directly out of a
working
dialplan. To be fair, the box is running a faintly prehistoric
FreeSWITCH - you crazy cats haven't been chewing on the tail of my
cherished mouse of backwards compatibility again, have you?!
What has been incorrect in this discussion is the name of the header:
it's P-Asserted-Identity, not P-Asserted-ID. The fact that it's
usually
shortened to PAID doesn't help; nor does the fact that Remote-Party-
ID
(which is deprecated, but still widely used for the same job as
P-Asserted-Identity) is about as well.
--Dave
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
krice at suspicious.org Guest
|
Posted: Thu Jul 16, 2009 4:03 pm Post subject: [Freeswitch-users] Setting P-Asserted-ID to something other |
|
|
Hey Dale RFC4694 defines how to pass JIP LRN and CIC (and a few other
things) as part of the tel URI... This has been adapted for use in SIP as
the user part of the invite and from URIs... Theres also RFC3325 for PAID
and if you check out the wikipedia page for IMS (IP Multimedia Subsystem)
there are several other RFCs that are related for various "P headers" there.
Most of these headers come out from the 3GPP/IMS working groups
Quote: | From: Dale <fdhege@gmail.com>
Reply-To: <freeswitch-users@lists.freeswitch.org>
Date: Thu, 16 Jul 2009 13:04:35 -0400
To: <freeswitch-users@lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Setting P-Asserted-ID to something other than
the callerid
Hey, you happen to have the RFC number and section they are violating?
I'll dig it up. But figured I'd ask since you all seem to have them
memorized by now.
-Dale
On Jul 16, 2009, at 10:41 AM, Ken Rice wrote:
Quote: | That's just right down screwing with the standards...
PAID is the caller id... This particular definition is from the RFCs
and
3GPP docs for IMS which is why we have standardized P- headers...
Can your vendor not look at the P-Charging-Vector field?
Also, From when used with PAID is more like an ANI not a CLID
Quote: | From: Dale <fdhege@gmail.com>
Reply-To: <freeswitch-users@lists.freeswitch.org>
Date: Thu, 16 Jul 2009 10:30:34 -0400
To: <freeswitch-users@lists.freeswitch.org>
Subject: [Freeswitch-users] Setting P-Asserted-ID to something
other than the
callerid
Hello again,
I wanted to first say thanks to Brain for helping me fix my from
domain issue the other day. It helped quite a bit.
Now with more testing and talking with the vendor (please don't shoot
the messenger )
They want the caller id info in the from and the charge number/
screening number in the P-Asserted-ID.
I have tested this and verified that this does work like they say it
does by setting the callerid number to my charge number and setting
the from user in the gateway config to the callerid I want displayed.
But this solution doesn't scale very well.
I know I can set the gateway option caller-id-in-from to get that
part
done. But is there a way to set the P-Asserted-ID to something other
than the callerid?
Any hints would be welcomed.
Thanks,
-Dale
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
|
|
|
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
|