rayo / rayo-server

Rayo Server - A high performance awesomeness server
http://www.rayo.org
Apache License 2.0
43 stars 4 forks source link

Rayo is escaping SIP URI #16

Closed loopingrage closed 12 years ago

loopingrage commented 12 years ago

I was trying to dial sip:95260079#14153675082@sip.flowroute.com but the hash sign is being accidentally escaped.

<iq from="usera@pb.tfoundry.com/1uhtrdtlc59ss" id="blather0018" to="pb.tfoundry.com" type="set">
   <dial xmlns="urn:xmpp:rayo:1" from="tel:+14157044517" to="sip:95260079#14153675082@sip.flowroute.com"/> 
</iq>
INVITE sip:95260079%2314153675082@sip.flowroute.com SIP/2.0
Content-Type: application/sdp
To: sip:95260079%2314153675082@sip.flowroute.com
Via: SIP/2.0/UDP 12.208.178.148:5060;branch=z9hG4bK1v3g4iosln1hx;rport
CSeq: 1 INVITE
Content-Length: 438
Call-ID: f2e27be0fj6x
Max-Forwards: 70
From: <tel:+14157044517>;tag=jmdgo7f3e2cc
Contact: <sip:12.208.178.148:5060;transport=udp>

v=0
o=- 1686037 1686037 IN IP4 12.208.178.148
s=voxeo
c=IN IP4 12.208.178.148
t=0 0
m=audio 20056 RTP/AVP 0 8 101 115 116 111 9 3 117 112 113
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=rtpmap:115 SPEEX/8000
a=rtpmap:116 SPEEX/16000
a=rtpmap:111 G726-32/8000
a=rtpmap:9 G722/8000
a=rtpmap:3 GSM/8000
a=rtpmap:117 SPEEX/32000
a=rtpmap:112 L16/8000
a=rtpmap:113 L16/16000
mpermar commented 12 years ago

I am afraid it is Prism who is encoding the URI not Rayo.

Raised an internal ticket in the Prism forum: https://evolution.voxeo.com/ticket/1660880