From and To header missing ports

A
alaa
Wed, Sep 20, 2017 12:36 PM

Hi ,

i am getting Options method and need to reply with 200 ok

i am using the following method to reply :

pjsip_endpt_respond_stateless( g_endpt, rdata,
                       PJSIP_SC_OK, &reason,
                       NULL, NULL);

The problem is that in the reply , the from and to headers are not
including any ports(only the IP is included).

How can i add the ports to the from and to header tags.

--
Signatures

Kind Regards,

Hi , i am getting Options method and need to reply with 200 ok i am using the following method to reply : pjsip_endpt_respond_stateless( g_endpt, rdata,                        PJSIP_SC_OK, &reason,                        NULL, NULL); The problem is that in the reply , the from and to headers are not including any ports(only the IP is included). How can i add the ports to the from and to header tags. -- Signatures Kind Regards,