Re: [SR-Users] Dialog Module Usage Question

2011-05-10 Thread JR Richardson
  The problem I am having specifically is for outbound calls flowing
  through a dispatcher, I want to separate calls into a profile for each
  SIP domain that I send calls to.  I'm not sure how do accomplish this.
I see in kamctl fifo dlg_list, there is 'caller_bind_addr::
  udp:10.10.12.24:5060'.  Is there a way to export that into a variable
  that I can use as the 'profile' for the dialog?
 
 The domain part of the request URI is stored in a pseudovariable
 called $rd.  I would just use that as your profile 'value'.
 
 --
 Alex Balashov - Principal

Thanks Alex, after I walked away from it for a bit, that came to mind.
Really appreciate the feedback.

Thanks.

JR


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Dialog Module Usage Question

2011-05-09 Thread JR Richardson
Hi All,

I'm trying to configure the dialog module with profiles for outbound
calls to different Dispatcher domains.  I can get the dialog module
configured for inbound calls and pull statistics and separate calls
into specific profiles, that part is working well.

The problem I am having specifically is for outbound calls flowing
through a dispatcher, I want to separate calls into a profile for each
SIP domain that I send calls to.  I'm not sure how do accomplish this.
 I see in kamctl fifo dlg_list, there is 'caller_bind_addr::
udp:10.10.12.24:5060'.  Is there a way to export that into a variable
that I can use as the 'profile' for the dialog?

Thanks.

JR
-- 
JR Richardson
Engineering for the Masses

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Dialog Module Usage Question

2011-05-09 Thread JR Richardson
 I'm trying to configure the dialog module with profiles for outbound
 calls to different Dispatcher domains.  I can get the dialog module
 configured for inbound calls and pull statistics and separate calls
 into specific profiles, that part is working well.

 The problem I am having specifically is for outbound calls flowing
 through a dispatcher, I want to separate calls into a profile for each
 SIP domain that I send calls to.  I'm not sure how do accomplish this.
  I see in kamctl fifo dlg_list, there is 'caller_bind_addr::
 udp:10.10.12.24:5060'.  Is there a way to export that into a variable
 that I can use as the 'profile' for the dialog?

Actually, I can't use the 'caller_bind_addr::udp:10.10.12.24:5060' it
should be the 'callee_contact:: sip:5551212@10.10.14.101' without the
user part of the URI, just the domain.

Any suggestions?

Thanks.

JR
-- 
JR Richardson
Engineering for the Masses

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Dialog Module Usage Question

2011-05-09 Thread Alex Balashov

On 05/09/2011 07:16 PM, JR Richardson wrote:


The problem I am having specifically is for outbound calls flowing
through a dispatcher, I want to separate calls into a profile for each
SIP domain that I send calls to.  I'm not sure how do accomplish this.
  I see in kamctl fifo dlg_list, there is 'caller_bind_addr::
udp:10.10.12.24:5060'.  Is there a way to export that into a variable
that I can use as the 'profile' for the dialog?


The domain part of the request URI is stored in a pseudovariable 
called $rd.  I would just use that as your profile 'value'.


--
Alex Balashov - Principal
Evariste Systems LLC
260 Peachtree Street NW
Suite 2200
Atlanta, GA 30303
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users