[OpenSIPS-Users] diiference between 1.6.1 and 1.6.2

erik pepermans cpu1 at telenet.be
Tue Mar 23 21:06:11 CET 2010


Bogdan,

Still I am a bit worried of the sequence in 1.6.2 where I miss the dialog
build part as per 1.6.1 :

In 1.6.2 I got :

...
Mar 22 22:38:10 [2889] DBG:rr:after_loose: No next URI found
Mar 22 22:38:10 [2889] DBG:rr:run_rr_callbacks: callback id 0 entered with
<lr=on>
Mar 22 22:38:10 [2889] DBG:dialog:dlg_onroute: Route param 'did' not found

Whereas in 1.6.1 I got :

...
Mar 23 20:40:41 [9757] DBG:dialog:build_new_dlg: new dialog 0x2b5da3822c68
(c=4c9a2ff0361a9da71bb486fa201eb5c6 at foo.bar,f=sip:6000 at foo.bar,t=sip:1234567
890 at 192.168.5.1:5071,ft=as369d25ef) on hash 2503
...
Mar 23 20:40:58 [9757] DBG:rr:after_loose: No next URI found
Mar 23 20:40:58 [9757] DBG:rr:run_rr_callbacks: callback id 0 entered with
<lr=on;did=7c9.4c658cd3>
Mar 23 20:40:58 [9757] DBG:dialog:dlg_onroute: route param is '7c9.4c658cd3'
(len=12)
Mar 23 20:40:58 [9757] DBG:dialog:lookup_dlg: ref dlg 0x2b5da3822c68 with 1
-> 3
Mar 23 20:40:58 [9757] DBG:dialog:lookup_dlg: dialog id=1036539588 found on
entry 2503
Mar 23 20:40:58 [9757] DBG:core:parse_headers: flags=48
Mar 23 20:40:58 [9757] DBG:core:parse_to_param: tag=as369d25ef
Mar 23 20:40:58 [9757] DBG:core:parse_to: end of header reached, state=29
Mar 23 20:40:58 [9757] DBG:core:parse_to: display={"test"},
ruri={sip:6000 at foo.bar}
Mar 23 20:40:58 [9757] DBG:dialog:next_state_dlg: dialog 0x2b5da3822c68
changed from state 4 to state 5, due event 7
Mar 23 20:40:58 [9757] DBG:dialog:dlg_onroute: BYE successfully processed
Mar 23 20:40:58 [9757] DBG:dialog:run_dlg_callbacks: dialog=0x2b5da3822c68,
type=32
Mar 23 20:40:58 [9757] DBG:dialog:unref_dlg: unref dlg 0x2b5da3822c68 with 2
-> 1

Brgds
Erik

-----Oorspronkelijk bericht-----
Van: users-bounces at lists.opensips.org
[mailto:users-bounces at lists.opensips.org] Namens Bogdan-Andrei Iancu
Verzonden: dinsdag 23 maart 2010 20:42
Aan: OpenSIPS users mailling list
Onderwerp: Re: [OpenSIPS-Users] diiference between 1.6.1 and 1.6.2


ah....I do not know about he mediaproxy part - maybe somebody from AG 
projects may answer to your question....

Regards,
Bogdan

erik pepermans wrote:
> Hi Bogdan,
>
> Sorry - I actually meant there are no mediatrace records in the 
> media_sessions table of mediaproxy instead of siptrace records in the 
> sip_trace table of opensips.
>
> Brgds
> Erik
>
> -----Oorspronkelijk bericht-----
> Van: users-bounces at lists.opensips.org 
> [mailto:users-bounces at lists.opensips.org] Namens Bogdan-Andrei Iancu
> Verzonden: dinsdag 23 maart 2010 10:42
> Aan: OpenSIPS users mailling list
> Onderwerp: Re: [OpenSIPS-Users] diiference between 1.6.1 and 1.6.2
>
>
> Hi Erik,
>
> according the logs, the siptrace is inserting some records in the DB
> (what you posted is for inserting a reply record). Are you sure you 
> don't get the data in DB ??
>
> Regards,
> Bogdan
>
> erik pepermans wrote:
>   
>> Hi Bogdan,
>>
>> What I can see is :
>>
>> Afer invite :
>>
>> Mar 22 22:38:02 [2889] DBG:siptrace:trace_onreply_out: dest
>> [udp:77.xx.xx.xx:5060] Mar 22 22:38:02 [2889] 
>> DBG:siptrace:trace_onreply_out: storing info... Mar 22 22:38:02 [2889] 
>> DBG:db_mysql:has_stmt_ctx: ctx found for sip_trace
>>
>> ...
>>
>> Mar 22 22:38:02 [2889] DBG:dialog:dlg_onroute: Route param 'did' not
>> found
>>
>> Has the above something to do with it ?
>>
>> The script itself is fairly simple :
>>
>> ...
>> loadmodule "db_mysql.so"
>> loadmodule "signaling.so"
>> loadmodule "sl.so"
>> loadmodule "tm.so"
>> loadmodule "rr.so"
>> loadmodule "maxfwd.so"
>> loadmodule "usrloc.so"
>> loadmodule "registrar.so"
>> loadmodule "textops.so"
>> loadmodule "mi_fifo.so"
>> loadmodule "mi_datagram.so"
>> loadmodule "uri.so"
>> loadmodule "xlog.so"
>> loadmodule "acc.so"
>> loadmodule "drouting.so"
>> loadmodule "dialog.so"
>> loadmodule "aaa_radius.so"
>> loadmodule "alias_db.so"
>> loadmodule "siptrace.so"
>> loadmodule "mediaproxy.so"
>> loadmodule "perl.so"
>> ...
>> # ----- siptrace params -----
>> modparam("siptrace", "db_url",
>>         "mysql://user:pass@foo.bar/user") modparam("siptrace",
>> "trace_flag", 22) modparam("siptrace", "trace_on", 1)
>> ...
>> ####### Routing Logic ########          
>>
>> # main request routing logic            
>>
>> route{                                  
>>
>>         if (!mf_process_maxfwd_header("10")) {
>>                 sl_send_reply("483","Too Many Hops");
>>                 exit;                   
>>         }                               
>>         
>>         force_rport();         
>>                                
>>         setflag(22);           
>> ...
>> route[1] {
>>         # for INVITEs enable some additional helper routes
>>         if (is_method("INVITE")) {
>>                 t_on_branch("2");
>>                 t_on_reply("2");
>>                 t_on_failure("1");
>>         }       
>>                 
>>         sip_trace();
>>                 
>>      
>>         rewritehostport("77.yy.yy.yy:5060");
>>                 
>>         if (!t_relay()) {
>>                 sl_reply_error();
>>         };
>>         acc_aaa_request("aaa_extra");
>>         exit;
>> }       
>>
>> Hopes this helps a bit
>>
>> Brgds
>> Erik
>>
>> -----Oorspronkelijk bericht-----
>> Van: users-bounces at lists.opensips.org
>> [mailto:users-bounces at lists.opensips.org] Namens Bogdan-Andrei Iancu
>> Verzonden: zondag 21 maart 2010 23:30
>> Aan: OpenSIPS users mailling list
>> Onderwerp: Re: [OpenSIPS-Users] diiference between 1.6.1 and 1.6.2
>>
>>
>> Hi Erik,
>>
>> for the siptrace part,how are you triggering the tracing in the 
>> script
>> ?
>> Also, if possible,can you enable debug=6 and post the logs related to 
>> INVITE siptracing?
>>
>> Regards,
>> Bogdan
>>
>> erik pepermans wrote:
>>   
>>     
>>> Hi,
>>>  
>>> Using version 1.6.1-notls with mediaproxy module, the increments of
>>> KBIn and KBOut in CDRTool work OK; this has stopped in 1.6.2-notls. 
>>> Moreover the siptrace module doesn't return any record anymore in the 
>>> siptrace table as of 1.6.2.
>>>  
>>> The opensips.cfg is exactly the same I used in both versions.
>>>  
>>> Brgds
>>> Erik
>>>
>>> --
>>> This message has been scanned for viruses and
>>> dangerous content by *MailScanner* <http://www.mailscanner.info/>,
>>> and is believed to be clean.
>>> ---------------------------------------------------------------------
>>> ---
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org 
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>   
>>>     
>>>       
>>   
>>     
>
>
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro


_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Users mailing list