[asterisk-users] SIP client Resp code

DHAVAL INDRODIYA dhaval.it01034 at gmail.com
Wed Jul 29 01:55:50 CDT 2009


hello,

I have SIP phone registered with my server

now if they send me any number for dialing then i want to give a response
code

actually this number is conference number and i need to chek via DB query
that this conference is valid or not

if conference is not valid then i want to send a response code to SIP device
that conf not valid

i tried with Sendtext but not getting success


here are my dialplan

exten => _X.,1,NOOP(${CALLERID(num)}----${CALLERID(DNID)}--)
exten => _X.,n,SendText(Hello You are Now connected)
exten => _X.,n,SipAddheader(RESP_CODE : Hello You are Now connected)
exten => _X.,n,Meetme(151515,sdMAwC)
exten => _X.,n,Hangup()

can anybody help this out
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090729/7d612003/attachment.htm 


More information about the asterisk-users mailing list