[Users] Serial fork with AVPOPS

Matteo Piazza matteo.piazza at create-net.it
Thu Dec 1 14:13:16 CET 2005


Hi Bogdan
Thank's for the replay.
So do you have some council to avoid this problem, because if I cut the 
second t_relay() the message in not forwarded to voicemail.
Another thing, I not understand the meant of "VM".


Bogdan-Andrei Iancu wrote:
> Hi again,
> 
> small errata: "note that you have *two* t_relay() in failure route, in 
> VM branch!! "
> 
> regards
> bogdan
> 
> Bogdan-Andrei Iancu wrote:
> 
>> Hi Matteo,
>>
>> note that you have to t_relay() in failure route, in VM branch!!
>>
>> regards,
>> bogdan
>>
>>
>> Matteo Piazza wrote:
>>
>>> Hi,
>>> I want to realize a serial fork. With the function avp_db_load() I 
>>> load the addresses to forward the call and the function avp_pushto() 
>>> rewrites the address. I have this problem (see the debug output):
>>> I try to call 309 at 192.168.9.97
>>> 309 does not answer
>>> Go to failure_route to write 400 at 192.168.9.97
>>> The problem is that it comes executed another time avp_db_load(), and 
>>> I don't understand why the voicemail is executed two times.
>>> Thank's for all!
>>>
>>>
>>> 7(30331) AVP found for r-uri <sip:309 at 192.168.9.131;transport=udp> 
>>> for Call forward on Busy
>>> 14(30345) AVP inserted: r-uri <sip:400 at 192.168.9.97> for Call forward 
>>> on Busy
>>>  6(30329) AVP found for r-uri <sip:400 at 192.168.9.193> for Call 
>>> forward on Busy
>>> 14(30345) R-uri <sip:309 at 192.168.9.97> for VoiceMail
>>> 14(30345) ERROR:tm:t_forward_nonack: no branch for forwarding
>>> 14(30345) ERROR: w_t_relay_to: t_relay_to failed
>>> 14(30345) R-uri <sip:309 at 192.168.9.97> for VoiceMail
>>> 14(30345) ERROR:tm:t_forward_nonack: no branch for forwarding
>>> 14(30345) ERROR: w_t_relay_to: t_relay_to failed
>>>  9(30335) AVP found for r-uri <sip:400 at 192.168.9.193> for Call 
>>> forward on Busy
>>>  9(30335) ERROR: t_newtran: transaction already in process 0xb5da3d88
>>>  6(30329) ERROR:tm:t_should_relay_response: status rewrite by UAS: 
>>> stored: 408, received: 200
>>>  9(30335) ERROR: sl_reply_error used: I'm terribly sorry, server 
>>> error occurred (1/SL)
>>>  6(30329) ERROR:tm:t_should_relay_response: status rewrite by UAS: 
>>> stored: 408, received: 200
>>>
>>>
>>>
>>> route{
>>> ..................
>>> if (avp_db_load("$ruri","")) {
>>>  xlog ("L_ERR", "AVP found for r-uri <$ru> for Call forward on Busy\n");
>>>  }
>>> t_on_failure("1");
>>> ..........
>>> }
>>>
>>>
>>> failure_route[1] {
>>> if (avp_pushto("$ruri", "s:fwdbusy")) {
>>>  xlog ("L_ERR", "AVP inserted: r-uri <$ru> for Call forward on Busy\n");
>>>  avp_delete("s:fwdbusy");
>>>  append_branch();
>>>  t_relay();
>>>  t_on_failure("1");
>>>  }
>>> else{
>>>  avp_pushto("$ruri","s:voicemail");
>>>  xlog ("L_ERR", "R-uri <$ru> for VoiceMail\n");
>>>  rewritehostport("192.168.9.97:5061");
>>>  append_branch();
>>>  t_relay_to_udp("192.168.9.97","5061");
>>>  t_relay();
>>> }
>>>
>>>
>>> =======================================
>>>  Matteo Piazza, Junior Researcher
>>>  CREATE-NET
>>>  Via Solteri, 38 - 38100 Trento - Italy
>>>  email: matteo.piazza at create-net.it
>>>  Tel: +39-0461-408400ext:308
>>>  www.create-net.it
>>> =======================================
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at openser.org
>>> http://openser.org/cgi-bin/mailman/listinfo/users
>>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/users
>>
> 


-- 
=======================================
  Matteo Piazza, Junior Researcher
  CREATE-NET
  Via Solteri, 38 - 38100 Trento - Italy
  email: matteo.piazza at create-net.it
  Tel: +39-0461-408400ext:308
  www.create-net.it
=======================================




More information about the Users mailing list