Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Callweaver-users] Calling Party's Category URI support


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> CallWeaver Users
View previous topic :: View next topic  
Author Message
eugene.prokopiev at gm...
Guest





PostPosted: Tue Feb 03, 2009 7:16 am    Post subject: [Callweaver-users] Calling Party's Category URI support Reply with quote

Hi,

I need to replace SIP header from:

From: "101" <sip:101@10.10.9.27>;tag=as3d2399f9

to:

From: <tel:+78632800000;cpc-root=0>;tag=as3d2399f9

as described in http://www.softarmor.com/wgdb/docs/draft-mahy-iptel-cpc-00.txt.

Is it possible to implement this feature? Can do It with existing
applications/functions?

--
Thanks,
Eugene Prokopiev
_______________________________________________
Callweaver-users mailing list
Callweaver-users@callweaver.org
http://lists.callweaver.org/mailman/listinfo/callweaver-users
Back to top
vrban at vlines.de
Guest





PostPosted: Tue Feb 03, 2009 11:44 am    Post subject: [Callweaver-users] Calling Party's Category URI support Reply with quote

Perhaps this way? (dont know if that works):

Set(SIP_HEADER(From)=tel:+78632800000;cpc-root=0>)

Kristijan


Eugene Prokopiev schrieb:
Quote:
Hi,

I need to replace SIP header from:

From: "101" <sip:101@10.10.9.27>;tag=as3d2399f9

to:

From: <;tag=as3d2399f9

as described in http://www.softarmor.com/wgdb/docs/draft-mahy-iptel-cpc-00.txt.

Is it possible to implement this feature? Can do It with existing
applications/functions?

--
Thanks,
Eugene Prokopiev
_______________________________________________
Callweaver-users mailing list
Callweaver-users@callweaver.org
http://lists.callweaver.org/mailman/listinfo/callweaver-users



_______________________________________________
Callweaver-users mailing list
Callweaver-users@callweaver.org
http://lists.callweaver.org/mailman/listinfo/callweaver-users
Back to top
enp at altlinux.org
Guest





PostPosted: Wed Feb 04, 2009 1:16 am    Post subject: [Callweaver-users] Calling Party's Category URI support Reply with quote

2009/2/3, Kristijan Vrban:

Quote:
Perhaps this way? (dont know if that works):

Set(SIP_HEADER(From)=tel:+78632800000;cpc-root=0>)

It is impossible to setup variable values with '=' Sad

With:

Set(SIP_HEADER(From)="tel:+78632800000;cpc-root=0")

I got something like:

-- Executing [2440620@local:1] Set("SIP/102-fff4", "SIP_HEADER(From")
Feb 4 09:13:28 WARNING[1092921664]: pbx.c:7024 pbx_builtin_setvar:
Ignoring entry 'SIP_HEADER(From' with no '=' (and not last 'options'
entry)

--
Thanks,
Eugene Prokopiev
_______________________________________________
Callweaver-users mailing list
Callweaver-users@callweaver.org
http://lists.callweaver.org/mailman/listinfo/callweaver-users
Back to top
rabs at dimension-virt...
Guest





PostPosted: Wed Feb 04, 2009 2:42 am    Post subject: [Callweaver-users] Calling Party's Category URI support Reply with quote

El Miércoles, 4 de Febrero de 2009 06:16, Eugene Prokopiev escribió:
Quote:
2009/2/3, Kristijan Vrban:
Quote:
Perhaps this way? (dont know if that works):

Set(SIP_HEADER(From)=tel:+78632800000;cpc-root=0>)

It is impossible to setup variable values with '=' Sad

With:

Set(SIP_HEADER(From)="tel:+78632800000;cpc-root=0")

I got something like:

-- Executing [2440620@local:1] Set("SIP/102-fff4", "SIP_HEADER(From")
Feb 4 09:13:28 WARNING[1092921664]: pbx.c:7024 pbx_builtin_setvar:
Ignoring entry 'SIP_HEADER(From' with no '=' (and not last 'options'
entry)

Also, AFAIK SIP_HEADER(<header>) are read-only, you could not change them,
also what you try to do violates RFC3261, because on the "From" header, the
format is:

From = ( "From" / "f" ) HCOLON from-spec

from-spec = ( name-addr / addr-spec )
*( SEMI from-param )

name-addr = [ display-name ] LAQUOT addr-spec RAQUOT

addr-spec = SIP-URI / SIPS-URI / absoluteURI

SIP-URI = "sip:" [ userinfo ] hostport
uri-parameters [ headers ]

SIPS-URI = "sips:" [ userinfo ] hostport
uri-parameters [ headers ]

So I think, what you are trying is completly wrong, from a SIP POV

Best Regards
--
Raúl Alexis Betancor Santana
Dimensión Virtual
_______________________________________________
Callweaver-users mailing list
Callweaver-users@callweaver.org
http://lists.callweaver.org/mailman/listinfo/callweaver-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> CallWeaver 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