Hi all;
I want to test prepaid application which is started by
dialling 850 extension. Now the application is on
asterisk and call flow is like:
SIPp uac -->dial 850-->850dial to --->SIPp uas
I have fix some parameters so that i may enter into
the application after dialling 850.My extensions.conf
is like :
[test]
exten => 850,1,Answer
exten => 850,2,SetCallerID("+${CALLERIDNUM}")
exten => 850,3,PrepaidAuthCID(${CALLERIDNUM})
;exten => 850,103,PrepaidAuthPIN()
;exten =>
850,203,PrepaidCall(,${PREPAID-CARDID},${PREPAID-TARIFFID},${PREPAID-CREDIT},${PREPAID-STARTPULSE},${PREPAID-FREQUENCY},${PREPAID-ANNOUNCEMENT},${PREPAID-CCPREFIX},${PREPAID-RESELLERID})
exten =>
850,103,PrepaidCall(,7777777777,1,100,1,60,0,63,4)
exten => 850,303,Playback(prepaid/prepaid-auth-failed)
exten => 850,304,GoTo(404)
Here is dialling to UAS
exten=> 850,404,Dial(SIP/sippuas,220)
exten => 850,403,SoftHangup(${CHANNEL})
;exten => 850,404,Hangup
Now when the 200 OK respone comes with respect to
acknowledgement of INVITE from UAS , it goes to 850
but i want that the response of INVITE or any other
response goes directly to UAC .
Q) so is this possible that UAS directly give response
to UAC or i have to do something CODE on the prepaid
application for handling these responses.
regards;
Imran
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users