View previous topic :: View next topic |
Author |
Message |
jforman at wcgltd.com Guest
|
Posted: Wed Feb 25, 2009 10:34 am Post subject: [Freeswitch-users] Adding an info digit to sip from header |
|
|
I'm trying to edit the sip headers to make the from field look like
this:
From: <sip:SOMENUMBER@SOMEIP:5060;isup-oli=27>;tag=gK0a00d6ea.
I know that to read that data on an incoming sip message it is in $
{sip_from_params}, but how can I add the ;isup-oli=27 part on an
outgoing message?
Thanks
Josh
_______________________________________________
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: Wed Feb 25, 2009 10:37 am Post subject: [Freeswitch-users] Adding an info digit to sip from header |
|
|
You can do something like this "sofia/blah/somenumber@someip:5060;this=rocks"
/b
On Feb 25, 2009, at 9:22 AM, Josh Forman wrote:
Quote: | I'm trying to edit the sip headers to make the from field look like
this:
From: <[url=sip:SOMENUMBER@SOMEIP:5060;isup-oli=27]sip:SOMENUMBER@SOMEIP:5060;isup-oli=27[/url]>;tag=gK0a00d6ea.
I know that to read that data on an incoming sip message it is in $
{sip_from_params}, but how can I add the ;isup-oli=27 part on an
outgoing message?
Thanks
Josh |
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Wed Feb 25, 2009 12:07 pm Post subject: [Freeswitch-users] Adding an info digit to sip from header |
|
|
It will actually add it to both places
INVITE sip:1235@conference.freeswitch.org;this=rocks SIP/2.0
Via: SIP/2.0/UDP 99.185.85.3;rport;branch=z9hG4bK0Kaa1322U42eK
Max-Forwards: 69
From: "1004" <sip:1004@99.185.85.3>;tag=1SparjgraS69m
To: <sip:1235@conference.freeswitch.org;this=rocks>
I verified it does indeed add it in both places.
/b
On Feb 25, 2009, at 10:34 AM, Josh Forman wrote:
Quote: | Which variable would I need to set via the dialplan to do this
though? Your example looks like it would be the dialstring for the
bridge application but if that works it would probably be added to the
To header instead of the From, right? I can't be sure since nothing
I've tried has had any affect.
Between looking at the wiki and random experimenting I haven't found
anything that works thus far.
|
_______________________________________________
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 |
|
|
jforman at wcgltd.com Guest
|
Posted: Wed Feb 25, 2009 12:19 pm Post subject: [Freeswitch-users] Adding an info digit to sip from header |
|
|
Which variable would I need to set via the dialplan to do this
though? Your example looks like it would be the dialstring for the
bridge application but if that works it would probably be added to the
To header instead of the From, right? I can't be sure since nothing
I've tried has had any affect.
Between looking at the wiki and random experimenting I haven't found
anything that works thus far.
On Feb 25, 2009, at 11:01 AM, freeswitch-users-request@lists.freeswitch.org
wrote:
Quote: | Message: 3
Date: Wed, 25 Feb 2009 09:29:26 -0600
From: Brian West <brian@freeswitch.org>
Subject: Re: [Freeswitch-users] Adding an info digit to sip from
header
To: freeswitch-users@lists.freeswitch.org
Message-ID: <0E1E9F62-64C5-4B70-9C67-C7B5728DB111@freeswitch.org>
Content-Type: text/plain; charset="us-ascii"
You can do something like this "sofia/blah/somenumber@someip:
5060;this=rocks"
/b
On Feb 25, 2009, at 9:22 AM, Josh Forman wrote:
Quote: | I'm trying to edit the sip headers to make the from field look like
this:
From: <sip:SOMENUMBER@SOMEIP:5060;isup-oli=27>;tag=gK0a00d6ea.
I know that to read that data on an incoming sip message it is in $
{sip_from_params}, but how can I add the ;isup-oli=27 part on an
outgoing message?
Thanks
Josh
|
|
_______________________________________________
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 |
|
|
|