I would also recommend you to use   xlog("L_INFO"," XXXX \n"); in order to understand the logic of the kamailio.cfg


2015-06-17 15:19 GMT+02:00 Daniel-Constantin Mierla <miconda@gmail.com>:
Hello,

On 17/06/15 12:36, sharad tyagi wrote:
> Hi
>
> I am novice to kamailio , I have installed kamailio-4.2.0 and SIREMIS.
> I have add and registered two IP phones with kamailio these phone able
> to call each other.
>
> How can i make outbound call with that I am using a asterisk server as
> PSTN Gateway. i am not famalier with kamailio script.

the basic setup for a pstn gateway is in default kamailio.cfg. Read the
remarks in the comments at the top of default kamailio.cfg for some
guidelines on what to do.

Cheers,
Daniel

--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com


_______________________________________________
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