Thanks Marius,
that was it.
Regards
Javier
On Mon, Oct 25, 2010 at 10:08 PM, sr-users-request@lists.sip-router.orgwrote:
Send sr-users mailing list submissions to sr-users@lists.sip-router.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users or, via email, send a message with subject or body 'help' to sr-users-request@lists.sip-router.org
You can reach the person managing the list at sr-users-owner@lists.sip-router.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of sr-users digest..."
Today's Topics:
- Drouting usage (Javier Gallart)
- PSTN call (michel freiha)
- Re: Drouting usage (marius zbihlei)
- bflag under failure_route (kamailio 1.5) (I?aki Baz Castillo)
- Re: bflag under failure_route (kamailio 1.5) (Daniel-Constantin Mierla)
- Re: bflag under failure_route (kamailio 1.5) (I?aki Baz Castillo)
- Re: bflag under failure_route (kamailio 1.5) (Daniel-Constantin Mierla)
- Re: bflag under failure_route (kamailio 1.5) (I?aki Baz Castillo)
Message: 1 Date: Mon, 25 Oct 2010 15:16:56 +0200 From: Javier Gallart jgallartm@gmail.com Subject: [SR-Users] Drouting usage To: sr-users@lists.sip-router.org Message-ID: AANLkTik8pWtu9uT1=mPb_zSnztej5kHzPrEVPubgzeY7@mail.gmail.com Content-Type: text/plain; charset="iso-8859-1"
Hello
sorry if this sounds too "newbie". I'm interested in the drouting module. The first INVITE is correctly forwarded to the gw foudn in the drouting table: if (is_method("INVITE") && !has_totag()) { do_routing("0"); record_route(); } However for subsequent messages (ACK, BYE) in the dialog I don't know how to keep track of the ip resolved by the drouting logic so the messages are correctly forwarded to the same gw. I've made some tests using the dialog module with no success. Any hint?
Thanks in advance
Javier