[OpenSIPS-Users] opensips presence module init error
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Fri Aug 22 15:40:12 CEST 2008
Hi Darren,
in aor_avp you need to place a SIP URI - the registrar module will take
care and extract only the username and domain from there in order to
build the AOR, so do not worry about the extra parameters.
Regards,
Bogdan
Darren Sessions wrote:
> The problem is I'm getting lnp rn info in the RURI. I'm not sure, and
> not familiar enough with the avp module to know how I'd filter that out.
>
> I did see the, aor_avp registrar modparm though.
>
> Thanks again,
>
> - Darren
>
>
> U 111.111.111.111:5060 -> 222.222.222.222:5060
> INVITE sip:8005551212;rn=9998887777 at 222.222.222.222:5060 SIP/2.0..Via:
> SIP/2.0/UDP 111.111.111.111:5060;branch=z9hG4bK0cB
> 17cd7f7fb3a39379..From:
> <sip:13034446666 at 111.111.111.111:5060;isup-oli=62>;tag=gK0c65c12e..To:
> <sip:8005551212 at 222.222.222.222:5060>..Call-ID: 1494002568_9943 at 111.111.111.111
> <mailto:1494002568_9943 at 111.111.111.111>..CSeq: 11375
> INVITE..Max-Forwards: 70..Allow: INVITE,ACK,CANCEL,BY
> E,REGISTER,REFER,INFO,SUBSCRIBE,NOTIFY,PRACK,UPDATE,OPTIONS..Accept:
> application/sdp, application/isup, application/
> dtmf, application/dtmf-relay, multipart/mixed..Contact:
> <sip:13034446666 at 111.111.111.111:5060>..Remote-Party-ID:
> <sip:13034446666 at 111.111.111.111:5060>;privacy=off..Supported:
> timer,100rel..Session-Expires: 1800..Min-SE: 90..Content-Length
> : 180..Content-Disposition: session;
> handling=required..Content-Type: application/sdp....v=0..o=Sonus_UAC
> 26168 135
> 90 IN IP4 111.111.111.111..s=SIP Media Capabilities..c=IN
> IP4 111.111.111.112..t=0 0..m=audio 12566 RTP/AVP 0..a=rtpmap:0
> PCMU/8000..a=sendrecv..a=maxptime:20..
>
>
> _____________________________
>
> dmsessions at gmail.com <mailto:dmsessions at gmail.com>
> http://www.darrensessions.com
> _____________________________
>
>
>
>
> On Aug 21, 2008, at 2:29 AM, Bogdan-Andrei Iancu wrote:
>
>> Hi Darren,
>>
>> lookup("location") takes the RURI and uses it as AOR for looking for
>> the registered contact in location table. So, it replaces the AOR
>> with contact. See:
>> http://www.opensips.org/html/registrar.html#id2558350
>>
>> If you want to use the AOR from other place than RURI, you may
>> consider passing the AOR via an AVP:
>> http://www.opensips.org/html/registrar.html#id2519634
>>
>> Regards,
>> Bogdan
>>
>> PS: use new thread for new topics, please
>>
>> Darren Sessions wrote:
>>> Need a refresher (I feel like an idiot for asking) . . the
>>> lookup("location") function uses the RURI and checks the contact
>>> field in locations (as an example) ?
>>>
>>> I can't remember, and the google'd docs are all messed up with the
>>> OpenSER transition . .
>>> Thanks
>>>
>>> :)
>>>
>>> - Darren
>>
>
More information about the Users
mailing list