< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index | Next in Thread > |
NameAddr userAor(
" 163 <sip:163@xxxxxxxxx:5060>") it sends register message to 10.8.2.40. But I want to pass domainname like " 163 <sip:163@xxxxxxxxxx:5060>"instead of IP address. So I changed IP address with domain name. But failed to set destionanion IP address
can you please help me how to set dest IP address with domain name in this stack.
Regards,
ND
Hi All,I hope it is the right forum to ask this question.I am using resiprocate basicmessage application to send one message to remote SIP phone.I need to set "Content-Type: text/plain ;charset=iso-8859-1" otherwise I get unsupported MediaType error.By adding following line of code I can get "Content-Type: text/plain "clientDum.getMasterProfile()->addSupportedMimeType(MESSAGE, Mime("text", "plain"))I want to add charset = UTF-8 in content-type header. So what extra work I need to do?I tried by adding following codes in resip\dum\BaseCreator.cxx makeInitialRequest()SharedPtr<SipMessage> mLastRequest;
mLastRequest->header(h_ContentType).param(p_charset) = "UTF-8";but failed to get desired result still "Content-Type: text/plain "Please help.Regards,ND
_______________________________________________
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/