[asterisk-users] About Hint Configuration in Asterisk.
Hi all, I am using Asterisk-1.6.0.1 version and done below configuration for the extensions.conf. exten = x-lite1,hint,SIP/x-lite1 The x-lite1 phone is configured in sip.conf. Now I(Application) gets subscribe for x-lite1 for the events. But when I make a call from x-lite1 to any other phone x-lite2 (it is also configured in the sip.conf), I should get the event NOTIFY message for the event but I am not getting. But the other way when I make a call from x-lite2 phone to x-lite1 phone at that I am getting the NOTIFY event messages. What I want is when I make a call from x-lite1 to x-lite2 I should get the NOTIFY event messages of the x-lite1. Is there any other configuration to do that? Can any body give me any suggestion to solve my problem. Suggestions are appreciated. Thank you in advance. Thank You Regards, Sunil Teli Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at a href=http://www.techmahindra.com/Disclaimer.html;http://www.techmahindra.com/Disclaimer.html/a externally and a href=http://tim.techmahindra.com/Disclaimer.html;http://tim.techmahindra.com/Disclaimer.html/a internally within Tech Mahindra. ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Query About Asterisk 1.6.0.1 Dialog Event Package.
Hi asterisk users, I am in need of information about how to configure the sip.conf and extension.conf for subscribers to support the dialog event package rfc 4235. I am using asterisk 1.6.0.1 version. The below are the configuration of sip.conf and extension.conf files which I have done. I have three subscribers as one from my application(App) and other are x-lite1 and x-lite2 phone(X-lite) the configurations are as below for sip.conf. My Scenario. I am using asterisk-1.6.0.1, I want to know that does it support for the Dialog Event Package (As per the rfc 4235)). If yes then what config files I have to change for the same. Example of my scenario Here App is My Application. x-lite1 is X-lite Phone. x-lite2 is X-lite phone. 1) Register a subscriber App, and then subscribe it to (for Dialog Event Package) x-lite1 through asterisk. 2)After subscribing I(App) receive NOTIFY from asterisk. 3) Now establish call between x-lite1 and x-lite2 both x-lite phones. 4) After the call is established from x-lite1 to x-lite2, then an NOTIFY should be sent to App (for the change in the dialog event of x-lite1), further App should get notified for any dialog change by the x-lite1. My problem. Here App is subscribed to X-lite1 through asterisk for the dialog event package, and X-lite1 calls X-lite2, here the dialog events of X-lite1 should be notified to App. But I am getting 404 Not Found for the Subscribe message, which I send for Subscription to x-lite1 through asterisk. Below are the config files. Is there any other way to solve this problem. Any help is appreciated. Thank you in advance. Sip.conf [general] port = 5060 ; Port to bind to (SIP is 5060) bindaddr = 192.168.1.243 ; x = Asterisk server IP address disallow=all ;allow = ulaw ; Allow all codecs ;allow = alaw context = from-sip ; Send SIP callers that we don't know about here canreinvite=no directrtpsetup=yes nat=no ;subscribecontext= localextensions ;default allowsubscribe=yes ; Disable support for subscriptions. (Default is yes) [App] type=friend username=App ;regexten=1234 ; When they register, create extension 1234 ;secret=password host=dynamic context=from-sip mailbox=App disallow=all allow = alaw ;canreinvite=no ;directrtpsetup=yes subscribecontext=internal ;localextensions ;default allowsubscribe=yes [X-lite1] type=friend username=X-lite1 ;secret=password host=dynamic context=from-sip mailbox=X-lite1 disallow=all allow = alaw ;canreinvite=no ;directrtpsetup=yes subscribecontext=internal ;localextensions ;default allowsubscribe=yes [X-lite2] type=friend username= X-lite2 ;secret=password host=dynamic context=from-sip mailbox= X-lite2 disallow=all allow = alaw ;canreinvite=no ;directrtpsetup=yes subscribecontext=internal ; localextensions ;default allowsubscribe=yes The below configuration is for extension.conf. extension.conf [general] static=yes ; These two lines prevent the command-line interface writeprotect=yes ; from overwriting the config file. Leave them here. [from-sip] exten = App,1,Dial(SIP/App,20) exten = App,2,Hangup exten = X-lite1,1,Dial(SIP/X-lite1,20) exten = X-lite1,2,Hangup exten = X-lite2,1,Dial(SIP/X-lite2,20) exten = X-lite2,2,Hangup Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally and http://tim.techmahindra.com/Disclaimer.html internally within Tech Mahindra. Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at a href=http://www.techmahindra.com/Disclaimer.html;http://www.techmahindra.com/Disclaimer.html/a externally and a href=http://tim.techmahindra.com/Disclaimer.html;http://tim.techmahindra.com/Disclaimer.html/a internally within Tech Mahindra. ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] About Asterisk 1.6.0.1
Hi asterisk users, I am in need of information about how to configure the sip.conf and extension.conf for subscribers to support the dialog event package rfc 4235. I am using asterisk 1.6.0.1 version. The below are the configuration of sip.conf and extension.conf files which I have done. I have three subscribers as one from my application(App) and other are x-lite1 and x-lite2 phone(X-lite) the configurations are as below for sip.conf. My Scenario. I am using asterisk-1.6.0.1, I want to know that does it support for the Dialog Event Package (As per the rfc 4235)). If yes then what config files I have to change for the same. Example of my scenario Here A is My Application. B is X-lite Phone. C is X-lite phone. 1) Register a subscriber A, and then subscribe it to (for Dialog Event Package) B through asterisk. 2)After subscribing I receive NOTIFY from asterisk. 3) Now establish call between B and C both x-lite phones. 4) After the call is established from B to C, then an NOTIFY should be sent to A (for the change in the dialog event of B), further A should get notified for any dialog change by the B. My problem. Here App is subscribed to X-lite1 through asterisk for the dialog event package, and X-lite1 calls X-lite2, here the dialog events of X-lite1 should be notified to App. But I am getting 404 Not Found for the Subscribe message, which I send for Subscription to x-lite1 through asterisk. I there any other way to solve this problem. Please reply as early as possible. Sip.conf [general] port = 5060 ; Port to bind to (SIP is 5060) bindaddr = 192.168.1.243 ; x = Asterisk server IP address disallow=all ;allow = ulaw ; Allow all codecs ;allow = alaw context = bogon-calls ; Send SIP callers that we don't know about here canreinvite=no directrtpsetup=yes nat=no ;subscribecontext= localextensions ;default allowsubscribe=yes ; Disable support for subscriptions. (Default is yes) [App] type=friend username=App ;regexten=1234 ; When they register, create extension 1234 ;secret=password host=dynamic context=from-sip mailbox=App disallow=all allow = alaw ;canreinvite=no ;directrtpsetup=yes subscribecontext=internal ;localextensions ;default allowsubscribe=yes [X-lite1] type=friend username=X-lite1 ;secret=password host=dynamic context=from-sip mailbox=X-lite1 disallow=all allow = alaw ;canreinvite=no ;directrtpsetup=yes subscribecontext=internal ;localextensions ;default allowsubscribe=yes [X-lite2] type=friend username= X-lite2 ;secret=password host=dynamic context=from-sip mailbox= X-lite2 disallow=all allow = alaw ;canreinvite=no ;directrtpsetup=yes subscribecontext=internal ; localextensions ;default allowsubscribe=yes The below configuration is for extension.conf. extension.conf [general] static=yes ; These two lines prevent the command-line interface writeprotect=yes ; from overwriting the config file. Leave them here. [bogon-calls] [from-sip] exten = App,1,Dial(SIP/App,20) exten = App,2,Hangup exten = X-lite1,1,Dial(SIP/X-lite1,20) exten = X-lite1,2,Hangup exten = X-lite2,1,Dial(SIP/X-lite2,20) exten = X-lite2,2,Hangup Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at a href=http://www.techmahindra.com/Disclaimer.html;http://www.techmahindra.com/Disclaimer.html/a externally and a href=http://tim.techmahindra.com/Disclaimer.html;http://tim.techmahindra.com/Disclaimer.html/a internally within Tech Mahindra. ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users