Brekeke Forum Index » Brekeke PBX Forum

Post new topic   Reply to topic
Problem with text format in From Header
Author Message
mpassaro
Brekeke Member


Joined: 13 Nov 2009
Posts: 10
Location: Brazil

PostPosted: Fri Aug 27, 2010 7:48 am    Post subject: Problem with text format in From Header Reply with quote

1. Brekeke Product Name and version:2.3.6.0

2. Java version:1.6.0_02

3. OS type and the version:Slackware Linux 12.1

4. UA (phone), gateway or other hardware/software involved:ASM800

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html :Pattern 2

6. Your problem:
My ITSP uses text format in username and from header, Brekeke have some problem to manipulate text in from header. Because my username have a dot and donīt work. In my tests here when donīt have dot its work. Any sugestion?


Thank you,
Marcelo
Back to top
View user's profile
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 498

PostPosted: Fri Aug 27, 2010 3:00 pm    Post subject: Reply with quote

Let you modify the From header at the DialPlan.

If you don't know how to, write the current From URI here.
Back to top
View user's profile
mpassaro
Brekeke Member


Joined: 13 Nov 2009
Posts: 10
Location: Brazil

PostPosted: Mon Aug 30, 2010 7:46 am    Post subject: Reply with quote

Here is my from : sip:pl.tecnologia@ted.ct.tesatelecom.com

I'm using ARS. The itsp uses from to authenticate proxy.
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Mon Aug 30, 2010 9:59 am    Post subject: Reply with quote

if remove the dot in ARS from field and add the dot back in the dial plan, does it work?
Back to top
View user's profile
mpassaro
Brekeke Member


Joined: 13 Nov 2009
Posts: 10
Location: Brazil

PostPosted: Mon Aug 30, 2010 12:38 pm    Post subject: Reply with quote

I took the test but still not working.,
You can check my dialplan?
follows:

Matching Patterns
$request = ^INVITE
To = sip:7(.+)@
Deploy Patterns
From = sip:pl.tecnologia@ted.ct.tesatelecom.com
To = sip:pl.tecnologia@ted.ct.tesatelecom.com
$continue = true

Tanks
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Mon Aug 30, 2010 1:25 pm    Post subject: Reply with quote

try with
Matching Patterns
$port = ^15062
$localhost = ^true
$request = ^INVITE
$outbound = ^true
To = sip:7(.+)@

deploy:
From=sip:pl.tecnologia@ted.ct.tesatelecom.com
$auth=false
&net.sip.hide.loopback=true
$b2bua=true
X-PBX-Param=

put this dial plan on top of other dial plans

if not work, need your ARS pattern-OUT and what dialing number need to be sent to ted.ct.tesatelecom.com
Back to top
View user's profile
mpassaro
Brekeke Member


Joined: 13 Nov 2009
Posts: 10
Location: Brazil

PostPosted: Tue Aug 31, 2010 8:41 am    Post subject: Reply with quote

My ITSP removed the dot from username and it worked.
I believe the brekeke has some bug with users who have dot in username (From).

Thanks,
Back to top
View user's profile
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 498

PostPosted: Tue Aug 31, 2010 11:55 am    Post subject: Reply with quote

A DialPlan rule for modifying the From header should be used before the PBX forwards a call...
If so... the ITSP doesn't have to change the username.
A DialPlan rule after the PBX will not effect...

Anyway,, glad to know you solved the issue.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke PBX Forum All times are GMT - 7 Hours
Page 1 of 1