Re: [SR-Users] add fromuser to sip request

2010-10-05 Thread Alex Balashov
JR, On 10/05/2010 04:00 PM, JR Richardson wrote: Hi Alex. I use a general context in asterisk to route calls already and wanted to get away from pattern matches. I'm using asterisk realtime and want to decrease the load. I'll play around with the 'uac_replace_from()' and 'append_hf' to see w

Re: [SR-Users] add fromuser to sip request

2010-10-05 Thread JR Richardson
>> In Kamailio, how would I go about receiving a sip request, append a >> user "sipentry1" then forward it to Asterisk?  I would be using some >> sort of trunk prefix to identify which sip request to append the user >> like: >> >> 552145551...@siprouter, strip 55, append user "sipentry1", dispatch

Re: [SR-Users] Question about early media

2010-10-05 Thread Andreas Heise
Hello, you could change the SDP with UPDATE method, but 183 must be send reliable in this case. regards, Andreas 2010/10/5 Iñaki Baz Castillo > 2010/10/4 Asim Riaz : > > Hi List, > > Phone-1 --->Proxy1 (kamailio)-->Proxy-2(3rd party) > > -> phone 2 > > > > Calls fr

Re: [SR-Users] add fromuser to sip request

2010-10-05 Thread Alex Balashov
JR, On 10/05/2010 02:00 PM, JR Richardson wrote: In Kamailio, how would I go about receiving a sip request, append a user "sipentry1" then forward it to Asterisk? I would be using some sort of trunk prefix to identify which sip request to append the user like: 552145551...@siprouter, strip 55

[SR-Users] add fromuser to sip request

2010-10-05 Thread JR Richardson
Hi All, I am using Kamilio 3.0.2 as a load balancer in front of Asterisk servers, using Dispatcher/PDT and such, working fine. I would like to be able to bring sip calls into Asterisk at different entry points in the dialp plan, so I want to setup sip users; [sipentry1] contex=blah, [sipentry2] c

Re: [SR-Users] Question about early media

2010-10-05 Thread Iñaki Baz Castillo
2010/10/4 Asim Riaz : > Hi List, > Phone-1 --->Proxy1 (kamailio)-->Proxy-2(3rd party) > -> phone 2 > > Calls from phone-1 to phone-2, proxy-2 is sending early media without sdp in > provisional reply, this early media is sourced from different port than > response (200),

Re: [SR-Users] Tutorial: SIP SIMPLE Presence Made Simple with Kamailio 3.1

2010-10-05 Thread Rouskol Andrey
Daniel, What whould you think about this variant: event_route[xhttp:request] { xlog("L_INFO", "= xhttp: request [$rv] $rm => $hu\n"); xdbg("= xhttp: request [$rv] $rm => $hu\n"); if($hu=~"^/xcap-root/") { # xcap ops $xcapuri(

Re: [SR-Users] Tutorial: SIP SIMPLE Presence Made Simple with Kamailio 3.1

2010-10-05 Thread Rouskol Andrey
Daniel, I've got your idea - sip communicator can not send u...@domain when doing xcap requests. I've tested xcap with curl utility and my fault was to take it's behaviour as normal. Regards, Andrey. 05.10.10, 11:46, "Daniel-Constantin Mierla" : > Hello, > > On 10/4/10 3:37 PM, Rouskol A

Re: [SR-Users] Question about early media

2010-10-05 Thread Asim Riaz
Hi Daniel, kamailio is not relaying media - you can use rtpproxy together with it to do > that. > Sorry forgot to mention I am using the mediaproxy to relay the media, I can see when Kamailio receive response(200) with different port than early media, mediaproxy sends one packet to the new port

Re: [SR-Users] retrieve INVITE transaction in CANCEL

2010-10-05 Thread Daniel-Constantin Mierla
Hello, On 10/4/10 1:47 PM, Zappasodi Daniele wrote: Hello, is it possible to retrieve the info related to the INVITE transaction while the CANCEL is processed? In particular, when the script is handling the CANCEL, how can I get the avp values written in the corresponding INVITE transaction?

Re: [SR-Users] Question about early media

2010-10-05 Thread Daniel-Constantin Mierla
Hello, On 10/4/10 2:36 PM, Asim Riaz wrote: Hi List, Phone-1 --->Proxy1 (kamailio)-->Proxy-2(3rd party) -> phone 2 Calls from phone-1 to phone-2, proxy-2 is sending early media without sdp in provisional reply, this early media is sourced from different port th

Re: [SR-Users] Tutorial: SIP SIMPLE Presence Made Simple with Kamailio 3.1

2010-10-05 Thread Daniel-Constantin Mierla
Hello, On 10/4/10 3:37 PM, Rouskol Andrey wrote: Daniel, 02.10.10, 12:37, "Daniel-Constantin Mierla": But here is like this because your client uses u...@domain in username field for authentication, right? This is because www_authorize("xcap", "subscriber") requires me to use u...@domai