partysip-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Partysip-dev] filterplugin and forwarding


From: René Janssen
Subject: Re: [Partysip-dev] filterplugin and forwarding
Date: Thu, 06 Nov 2003 15:48:31 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007

Aymeric Moizard wrote:

The target INVITE contains address@hidden

So the rules for the filter packet will match only in the
filter plugin that apply to "internal" dialingplan.

Move the forward rule to this plugin.
Aymeric

This does not work. The filter plugin does not log anything so I think it isnt called at all.
I compiled the filter plugin with TRE enabled however.(win32)

René



On Wed, 5 Nov 2003, René Janssen wrote:

I am having trouble getting the forwarding rules to work in the 2.1 version.
Basically I want to be able to forward all incoming invites to a
different proxy which is running on the same host but on a different port.
Any ideas?

thanks,
René

filter configuration:

<filter_internal>

 dialingplan   internal
 mode          statefull
# record-route  on

#filter_scope   internal
filter_scope   external
forward ^tel:([0-9]+)|sip:address@hidden:5066

</filter_internal>

<filter_external>

 dialingplan   external
 mode          statefull
# record-route  on

forward    ^sip:(.+)@(.+)|sip:address@hidden:5066
</filter_external>

Logging:


| INFO1 | <G:\projects\partysip\plugin\udp\udp.c: 552>
INVITE sip:address@hidden SIP/2.0
Via: SIP/2.0/UDP
192.168.1.160:5060;rport;branch=z9hG4bK2EA2D4DEDBD84EDC83430B446B70914F
From: 100 <sip:address@hidden>;tag=2903572696
To: <sip:address@hidden>
Contact: <sip:address@hidden:5060>
Call-ID: address@hidden
CSeq: 46733 INVITE
Max-Forwards: 70
Content-Type: application/sdp
User-Agent: X-Lite build 1085
Content-Length: 298

v=0
o=100 1641824158 1641824158 IN IP4 192.168.1.160
s=X-Lite
c=IN IP4 192.168.1.160
t=0 0
m=audio 8000 RTP/AVP 0 8 3 98 97 101
a=rtpmap:0 pcmu/8000
a=rtpmap:8 pcma/8000
a=rtpmap:3 gsm/8000
a=rtpmap:98 iLBC/8000
a=rtpmap:97 speex/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15

| INFO1 | <G:\projects\partysip\src\psp_core4.c: 85> psp_core_cb_rcvinvite!
| INFO1 | <G:\projects\partysip\plugin\udp\udp.c: 816>
SIP/2.0 100 Trying
Via: SIP/2.0/UDP
192.168.1.160:5060;rport=5060;branch=z9hG4bK2EA2D4DEDBD84EDC83430B446B70914F
From: 100 <sip:address@hidden>;tag=2903572696
To: <sip:address@hidden>
Call-ID: address@hidden
CSeq: 46733 INVITE
Server: partysip/0.6.0
Content-Length: 0


| ERROR | <G:\projects\partysip\plugin\udp\udp.c: 953> WSAGetLastError
returned : 0.
| INFO1 | <G:\projects\partysip\plugin\udp\udp.c: 958> udp_plugin:
message sent to 192.168.1.160 on port 5060
| INFO1 | <G:\projects\partysip\src\psp_core4.c: 172> psp_core_cb_snd1xx!
| INFO1 | <G:\projects\partysip\src\psp_request.c: 37> Allocating
psp_req ressource!
| INFO1 | <G:\projects\partysip\plugin\ls_sfull\ls_sfull.c: 196>
ls_sfull plugin: ignore this request which belongs to this domain.
| INFO1 | <G:\projects\partysip\plugin\ls_localdb\ls_localdb.c: 301>
ls_localdb plugin: No location found for known user: return 404 Not found!!
| INFO1 | <G:\projects\partysip\src\imp.c: 403> Swithing to uas mode!
| INFO1 | <G:\projects\partysip\plugin\udp\udp.c: 816>
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP
192.168.1.160:5060;rport=5060;branch=z9hG4bK2EA2D4DEDBD84EDC83430B446B70914F
From: 100 <sip:address@hidden>;tag=2903572696
To: <sip:address@hidden>
Call-ID: address@hidden
CSeq: 46733 INVITE
Server: partysip/0.6.0
Content-Length: 0










_______________________________________________
Partysip-dev mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/partysip-dev








reply via email to

[Prev in Thread] Current Thread [Next in Thread]