Version: OpenSer 1.2.0

I have a phone (using G711 as voice codec ) using openser as outbound proxy, openser has 2 routes
- gateway1 (does not allow G711)
- gateway2

When the phone try a call,  openser try first gateway1 and that fails with error code "488 Not acceptable here" ( which is normal because G711 is not allowed on that gateway ). Then Openser then try gateway2 but it seems that Openser is generating wrong SIP packets especially, it is using header "transport=udp..t" instead of "transport=udp".

Is this a known bug on LCR fallback ?
Note that on the first gateway1, one digit is stripped before trying the call; on the second gateway, no digits are stripped.

Below is an extract of the SIP dialog ( ngrep output in attachement ):

o Phone to OpenSer
U phone:5060 -> openser:5060
INVITE sip:xxxxxxxx@sip1.e-qual.fr SIP/2.0.

U openser:5060 -> phone:5060
SIP/2.0 100 Giving a try.

o  OpenSer to Gateway1
U openser:5060 -> gateway1:5060
INVITE sip:
xxxxxxxx@gateway1:5060;transport=udp SIP/2.0.

U gateway1:5060 -> openser:5060
SIP/2.0 488 Not acceptable here.

U openser:5060 -> gateway1:5060
ACK sip:516442431@gateway1:5060;transport=udp SIP/2.0.

o  OpenSer to Gateway2
U openser:5060 -> gateway2:5060
INVITE sip:
xxxxxxxx@gateway2:5060;transport=udp..t SIP/2.0.

U openser:5060 ->
gateway2:5060
INVITE sip:
xxxxxxxx@gateway2:5060;transport=udp..t SIP/2.0.

U openser:5060 ->
gateway2:5060
INVITE sip:
xxxxxxxx@gateway2:5060;transport=udp..t SIP/2.0.


Regards,
Jerome


-- 
Jerome