My example don`t help you. you must read about t_relay there. t_relay() is not central thing. I must stop your attension at SIP invite that goes to provider. t_relay simple to use- just customise your INVITE and call t_relay() from your route.
http://kamailio.org/docs/modules/devel/modules/tm.html 2014-08-20 16:54 GMT+04:00 Satish Patel <satish....@gmail.com>: > I am new in Kamailio so could you please give me code example how to use > t_relay() to forward traffic to Provide, I know how to use rewritehost() > but i never use t_relay() function > > > On Wed, Aug 20, 2014 at 8:22 AM, Yuriy Gorlichenko <ovoshl...@gmail.com> > wrote: > >> You can use t_relay() too. One thing that you need - to have right >> packet, that will be relays to Provider. I have multiple providers and >> manually change packets that will send to provider. >> >> >> 2014-08-20 15:57 GMT+04:00 Satish Patel <satish....@gmail.com>: >> >> Great! I registered remote Trunk using UAC module. so now i can just use >>> following function to forward my call right? >>> >>> rewritehost() >>> >>> >>> >>> On Wed, Aug 20, 2014 at 12:33 AM, Yuriy Gorlichenko <ovoshl...@gmail.com >>> > wrote: >>> >>>> Use UAC module for this >>>> 20.08.2014 7:40 пользователь "Satish Patel" <satish....@gmail.com> >>>> написал: >>>> >>>>> We have setup Kamailio front and SIP Proxy, Now i want to Trunk it >>>>> with other SIP provide they gave me IP, Username/Password. How do i >>>>> configure username/password on Kamailio SIP Proxy? >>>>> >>>>> _______________________________________________ >>>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list >>>>> sr-users@lists.sip-router.org >>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users >>>>> >>>>> >>>> _______________________________________________ >>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list >>>> sr-users@lists.sip-router.org >>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users >>>> >>>> >>> >>> _______________________________________________ >>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list >>> sr-users@lists.sip-router.org >>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users >>> >>> >> >> _______________________________________________ >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list >> sr-users@lists.sip-router.org >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users >> >> > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > >
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users